import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引入element-ui
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

//引入重置样式
import '../src/assets/css/reset.css'

//3.引入请求api挂载到vue原型链
import * as  api  from "./http/api";
Vue.prototype.$api = api;

//4.引入第三方icon图标
import iconPicker from 'vue-fontawesome-elementui-icon-picker';
Vue.use(iconPicker);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
